const tokenKey = 'token'
export function getToken() {
  return wx.getStorageSync(tokenKey) || 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjIzLCJpYXQiOjE1NjQ3MzAwNzksImV4cCI6MTAwMTU2NDczMDA3OH0.YPt-XeLnjV-_1ITaXGY2FhxmCe4NvXuRnRB8OMCfnPo'
}

export function setToken(token) {
  wx.setStorageSync(tokenKey, token)
}

export function removeToken() {
  wx.removeStorageSync(tokenKey)
}